<!DOCTYPE html><html lang='zh-HanT'><head><meta charset="UTF-8"/>
<title>RPT [var.out.ver]</title>
<meta name="msapplication-TileColor" content="#DD9099"/><!-- Icon is dynamcally inserted 144 x 144 --><meta http-equiv="P3P" content='CP="NON NID"' />
<meta name="apple-mobile-web-app-capable" content="yes" /><meta name="format-detection" content="telephone=no" />
<style>* { box-sizing: border-box; }
html, body { width: 100%; margin: 0; color: #000;}
body { padding: 8px; }

html { background: #EEA; background: linear-gradient(to right, #FFF8CC, #CCC799); }
div { margin: 0; padding: 0; }
.full_w { width: 100%; }
.hide { display: none; }
.red { color: red; }

h1 { margin: 10px 0; font-size: 1.2rem; display: inline; }
span[lang="en"] { margin-left: 10px; }
a { cursor: pointer; color: blue; text-decoration: none; color: #A44; }
a:hover { text-decoration: underline; color: #F66; }
a:visited { color: #833; }

#data { width: 100%; min-height: 400px; }
#list {
   table-layout: fixed;
   border-spacing: 0;
}
#white_d {
   position: fixed;
   top: 20px;
   right: 20px;
   max-width: 50%;
   opacity: 0.8;
   z-index: 10;
}
body * {
   position: relative;
   z-index: 20;
}

td[data-filter]:hover { border: 1px solid red; color: #F44 !important; cursor: pointer; cursor: zoom-in; }
thead { background: #CC9; background: rgba(160,160,120,0.5); }
tbody th { text-align: left; }
tbody tr { background: white; background: rgba(255,255,230,0.6); }
tbody tr.even { background: #FDD; background: rgba(255,218,220,0.5); }
/* tbody tr:hover { background: #FFC; background: rgba(255,255,204,0.8); /* outline: 2px solid #D88; } */
th { color: #403E14; }

input:not(:focus):not(:hover),
select:not(:focus):not(:hover),
textarea:not(:focus):not(:hover) {
   background: rgba(255,255,255,0.6);
   transition: background-color 2s cubic-bezier(0.1,0.7,0.4,0.9);
}

@media (min-width: 1001px) {
  .mobile { display: none; }
  td, th { padding: 0 5px; border: 1px solid #BB8; }
}

@media (max-width: 1000px) {
   .desktop { display: none; }
   table, thead, tbody, tr, th, td { display: block; }
   th, td { padding: 5px; }
   
   thead th { text-align: left; }
   tr { border-top: 3px deeppink groove; clear: left; }
   tr:after { content:""; display:table; clear:both; } /* clearfix */
   td:empty { display: none }   
}</style>
<script type="text/javascript" src="./../../html/res/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="./../../html/res/js/jquery.pager.js"></script>
<script type="text/javascript" src="./../../html/res/js/util.js"></script>
</head><body>
<form id="ksform" id="fwbd_sitesignadd" class="form-horizontal ewForm ewAddForm" action="wbd_sitesignadd.php" method="post">
<input type="hidden" name="token" value="FauR0-RITz_9YwpRXK1K5g..">
<input type="hidden" name="t" value="wbd_sitesign">
<input type="hidden" name="a_add" id="a_add" value="A">
<div>
  <div id="r_url_md5" class="form-group">
    <label id="elh_wbd_sitesign_url_md5" for="x_url_md5" class="col-sm-2 control-label ewLabel">url md 5<span class="ewRequired">&nbsp;*</span></label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_url_md5">
<input type="text" data-table="wbd_sitesign" data-field="x_url_md5" name="x_url_md5" id="x_url_md5" size="30" maxlength="32" placeholder="url md 5" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_name" class="form-group">
    <label id="elh_wbd_sitesign_name" for="x_name" class="col-sm-2 control-label ewLabel">name</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_name">
<input type="text" data-table="wbd_sitesign" data-field="x_name" name="x_name" id="x_name" size="30" maxlength="255" placeholder="name" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_url" class="form-group">
    <label id="elh_wbd_sitesign_url" for="x_url" class="col-sm-2 control-label ewLabel">url</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_url">
<input type="text" data-table="wbd_sitesign" data-field="x_url" name="x_url" id="x_url" size="30" maxlength="255" placeholder="url" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_ListStart" class="form-group">
    <label id="elh_wbd_sitesign_ListStart" for="x_ListStart" class="col-sm-2 control-label ewLabel">List Start</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_ListStart">
<input type="text" data-table="wbd_sitesign" data-field="x_ListStart" name="x_ListStart" id="x_ListStart" size="30" maxlength="255" placeholder="List Start" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_ListEnd" class="form-group">
    <label id="elh_wbd_sitesign_ListEnd" for="x_ListEnd" class="col-sm-2 control-label ewLabel">List End</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_ListEnd">
<input type="text" data-table="wbd_sitesign" data-field="x_ListEnd" name="x_ListEnd" id="x_ListEnd" size="30" maxlength="255" placeholder="List End" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_ContentStart" class="form-group">
    <label id="elh_wbd_sitesign_ContentStart" for="x_ContentStart" class="col-sm-2 control-label ewLabel">Content Start</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_ContentStart">
<input type="text" data-table="wbd_sitesign" data-field="x_ContentStart" name="x_ContentStart" id="x_ContentStart" size="30" maxlength="255" placeholder="Content Start" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_ContentEnd" class="form-group">
    <label id="elh_wbd_sitesign_ContentEnd" for="x_ContentEnd" class="col-sm-2 control-label ewLabel">Content End</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_ContentEnd">
<input type="text" data-table="wbd_sitesign" data-field="x_ContentEnd" name="x_ContentEnd" id="x_ContentEnd" size="30" maxlength="255" placeholder="Content End" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_NeedDelStr" class="form-group">
    <label id="elh_wbd_sitesign_NeedDelStr" for="x_NeedDelStr" class="col-sm-2 control-label ewLabel">Need Del Str</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_NeedDelStr">
<input type="text" data-table="wbd_sitesign" data-field="x_NeedDelStr" name="x_NeedDelStr" id="x_NeedDelStr" size="30" maxlength="255" placeholder="Need Del Str" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_VolumeStart" class="form-group">
    <label id="elh_wbd_sitesign_VolumeStart" for="x_VolumeStart" class="col-sm-2 control-label ewLabel">Volume Start</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_VolumeStart">
<input type="text" data-table="wbd_sitesign" data-field="x_VolumeStart" name="x_VolumeStart" id="x_VolumeStart" size="30" maxlength="255" placeholder="Volume Start" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_VolumeEnd" class="form-group">
    <label id="elh_wbd_sitesign_VolumeEnd" for="x_VolumeEnd" class="col-sm-2 control-label ewLabel">Volume End</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_VolumeEnd">
<input type="text" data-table="wbd_sitesign" data-field="x_VolumeEnd" name="x_VolumeEnd" id="x_VolumeEnd" size="30" maxlength="255" placeholder="Volume End" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_BriefUrlStart" class="form-group">
    <label id="elh_wbd_sitesign_BriefUrlStart" for="x_BriefUrlStart" class="col-sm-2 control-label ewLabel">Brief Url Start</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_BriefUrlStart">
<input type="text" data-table="wbd_sitesign" data-field="x_BriefUrlStart" name="x_BriefUrlStart" id="x_BriefUrlStart" size="30" maxlength="255" placeholder="Brief Url Start" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_BriefUrlEnd" class="form-group">
    <label id="elh_wbd_sitesign_BriefUrlEnd" for="x_BriefUrlEnd" class="col-sm-2 control-label ewLabel">Brief Url End</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_BriefUrlEnd">
<input type="text" data-table="wbd_sitesign" data-field="x_BriefUrlEnd" name="x_BriefUrlEnd" id="x_BriefUrlEnd" size="30" maxlength="255" placeholder="Brief Url End" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_AuthorStart" class="form-group">
    <label id="elh_wbd_sitesign_AuthorStart" for="x_AuthorStart" class="col-sm-2 control-label ewLabel">Author Start</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_AuthorStart">
<input type="text" data-table="wbd_sitesign" data-field="x_AuthorStart" name="x_AuthorStart" id="x_AuthorStart" size="30" maxlength="255" placeholder="Author Start" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_AuthorEnd" class="form-group">
    <label id="elh_wbd_sitesign_AuthorEnd" for="x_AuthorEnd" class="col-sm-2 control-label ewLabel">Author End</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_AuthorEnd">
<input type="text" data-table="wbd_sitesign" data-field="x_AuthorEnd" name="x_AuthorEnd" id="x_AuthorEnd" size="30" maxlength="255" placeholder="Author End" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_BriefStart" class="form-group">
    <label id="elh_wbd_sitesign_BriefStart" for="x_BriefStart" class="col-sm-2 control-label ewLabel">Brief Start</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_BriefStart">
<input type="text" data-table="wbd_sitesign" data-field="x_BriefStart" name="x_BriefStart" id="x_BriefStart" size="30" maxlength="255" placeholder="Brief Start" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_BriefEnd" class="form-group">
    <label id="elh_wbd_sitesign_BriefEnd" for="x_BriefEnd" class="col-sm-2 control-label ewLabel">Brief End</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_BriefEnd">
<input type="text" data-table="wbd_sitesign" data-field="x_BriefEnd" name="x_BriefEnd" id="x_BriefEnd" size="30" maxlength="255" placeholder="Brief End" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_BookImgUrlStart" class="form-group">
    <label id="elh_wbd_sitesign_BookImgUrlStart" for="x_BookImgUrlStart" class="col-sm-2 control-label ewLabel">Book Img Url Start</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_BookImgUrlStart">
<input type="text" data-table="wbd_sitesign" data-field="x_BookImgUrlStart" name="x_BookImgUrlStart" id="x_BookImgUrlStart" size="30" maxlength="255" placeholder="Book Img Url Start" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_BookImgUrlEnd" class="form-group">
    <label id="elh_wbd_sitesign_BookImgUrlEnd" for="x_BookImgUrlEnd" class="col-sm-2 control-label ewLabel">Book Img Url End</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_BookImgUrlEnd">
<input type="text" data-table="wbd_sitesign" data-field="x_BookImgUrlEnd" name="x_BookImgUrlEnd" id="x_BookImgUrlEnd" size="30" maxlength="255" placeholder="Book Img Url End" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_cf1" class="form-group">
    <label id="elh_wbd_sitesign_cf1" for="x_cf1" class="col-sm-2 control-label ewLabel">cf 1</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_cf1">
<input type="text" data-table="wbd_sitesign" data-field="x_cf1" name="x_cf1" id="x_cf1" size="30" maxlength="20" placeholder="cf 1" value="" class="form-control">
</span>
</div></div>
  </div>
  <div id="r_is_his" class="form-group">
    <label id="elh_wbd_sitesign_is_his" for="x_is_his" class="col-sm-2 control-label ewLabel">is his</label>
    <div class="col-sm-10"><div>
<span id="el_wbd_sitesign_is_his">
<input type="text" data-table="wbd_sitesign" data-field="x_is_his" name="x_is_his" id="x_is_his" size="30" placeholder="is his" value="" class="form-control">
</span>
</div></div>
  </div>
</div>
<div class="form-group">
  <div class="col-sm-offset-2 col-sm-10">
<button class="btn btn-primary ewButton" name="btnAction" id="btnAction" type="submit">Add</button>
<button class="btn btn-default ewButton" name="btnCancel" id="btnCancel" type="button" data-href="http://localhost:9980/__softMakeCode__/project0/wbd_sitesignlist.php">Cancel</button>
  </div>
</div>
</form>
   <p>   
      最后更新：<time datetime="[var.out.last_modify_time]">[var.out.last_modify_time]</time> &#160;
      <span style='color:#888'>         
         显示需时：<span id='lbl_render_time'>N/A</span>
      </span>
      [var.out.time_log; htmlconv=no]
   </p>
<h1 id='msg_upgrade_browser' class='hide'>请更新浏览器。</h1>
<noscript role="alert"><strong>启用或者允许使用 JavaScript 会给你更好用的表格。</strong></noscript>
<div class='hide'>
<textarea id='data' class='hide'>[var.out.data; htmlconv=no]</textarea>
<textarea id='attr_info'>[var.out.attr_info; htmlconv=no]</textarea>
<textarea id='item_info'>[var.out.item_info; htmlconv=no]</textarea>
<textarea id='skil_info'>[var.out.skil_info; htmlconv=no]</textarea>
<textarea id='char_info'>[var.out.char_info; htmlconv=no]</textarea>
<textarea id='bank_info'>[var.out.bank_info; htmlconv=no]</textarea>
<textarea id='base_title'>{"title":"\u59d3\u540d","ud1":"\u6027\u522b","ud2":"\u5e74\u9f84","ud3":"\u804c\u4e1a","ud4":"\u529b\u91cf","ud5":"\u654f\u6377","ud6":"\u4f53\u8d28","ud7":"\u7cbe\u795e","ud8":"\u667a\u529b","ud9":"ud9"}</textarea>
</div>
<script>/*<![CDATA[*/'use strict';
var changeFlag=false;
var cf_index = 1;
var isDebugMode='[var.out.debugMode; htmlconv=no]';
//
$(document).ready(function(){

   //修改监控    
   $(".cf").live("change",function(){
      swap_to_edit();
   }); 

   var empty_item={"title":"","category":"","value":"","ud1":"","ud2":"","ud3":"","sort":"99","hide_sort":"true"};

   $("#btn_add_attr").live("click",function(){
      var tt = deepClone(empty_item);
      tt.category=1;
      add_display_html('card_attr',tt,true);
   });

   $("#btn_add_item").click(function(){
      var tt = deepClone(empty_item);
      tt.category=2;
      add_display_html('card_item',tt,true,'c_item');
   });

   $("#btn_add_skil").click(function(){
      var tt = deepClone(empty_item);
      tt.category=3;
      add_display_html('card_skil',tt,true,'c_skil');
   });

   $("#btn_add_bank").click(function(){
      var tt = deepClone(empty_item);
      tt.category=4;
      add_display_html('card_bank',tt,true,'c_bank');
   });

   var tmp_str = $("#char_info").html();
   var tmp_json = str2json(tmp_str);
   var tmp_bt = $("#base_title").html();
   var bt_json = str2json(tmp_bt);
   if(tmp_json!=null){
      $.each(tmp_json,function(idx,item){ 
         var tt = getJsonAtt(bt_json,idx);
         var tt2 =deepClone(empty_item);
         tt2.category=0;
         tt2.title=tt;
         tt2.value=item;
         tt2.hide_sort=true;
         tt2.title_readonly=true;
         add_display_html('base_attr',tt2,false);
      });
   }

   var tmp_str = $("#attr_info").html();
   var tmp_json = str2json(tmp_str);
   if(tmp_json!=null){
      $.each(tmp_json,function(idx,item){
        var tt2 =deepClone(item);
        tt2.hide_sort=true;
        add_display_html('card_attr',tt2,true);
      });
   }

   var tmp_str = $("#item_info").html();
   var tmp_json = str2json(tmp_str);
   if(tmp_json!=null){
      $.each(tmp_json,function(idx,item){
        var tt2 =deepClone(item);
        tt2.hide_sort=true;
        add_display_html('card_item',tt2,true,'c_item');
      });
   }

   var tmp_str = $("#bank_info").html();
   var tmp_json = str2json(tmp_str);
   if(tmp_json!=null){
      $.each(tmp_json,function(idx,item){
        var tt2 =deepClone(item);
        tt2.hide_sort=true;
        add_display_html('card_bank',tt2,true,'c_bank');
      });
   }

   var tmp_str = $("#skil_info").html();
   var tmp_json = str2json(tmp_str);
   if(tmp_json!=null){
      $.each(tmp_json,function(idx,item){
        var tt2 =deepClone(item);
        tt2.hide_sort=true;
        add_display_html('card_skil',tt2,true,'c_skil');
      });
   }

   $(".btn_del_this").live("click",function(){
      var a=$(this);
      var id=a.parent().attr("id");
      // alert(id);
      del_one_cf(id);
   });

   $(".btn_val_op").live("click",function(){
      var a=$(this);
      var id=a.parent().attr("id");
      var v=parseInt($(this).val());
      $("#"+id+" input[name='value[]']").val(parseInt($("#"+id+" input[name='value[]']").val())+v);
      swap_to_edit();
   });
  
});

   //离开页面时保存文档       //not ok
   window.onbeforeunload = function() {
     if(changeFlag ==true){
      //如果changeFlag的值为true则提示 
      if(confirm("页面值已经修改，确定不做保存就离开吗？")){
         //处理信息保存...
         alert("即将执行保存操作...");
      }else{
         //不保存数据...
         alert("不保存信息...");
      }
     }
   } 

function save_card(m) {
   if($("#upw").val()==""){
      alert("请先输入pasword !!!");
   }else{
      if(m){
         post_ajax('20150213');   
      }else{
         post_ajax('20150212a');
      }      
   }
  try{
    document.title=cf_get_val('姓名'); 
  }catch(e){};  
}

function save_backup() {
   alert("Sorry ! This Function Not Ready !");
}

function save_tpl() {
   if($("#upw").val()==""){
      alert("请先输入pasword !!!");
   }else{
      post_ajax('20150212b');   
   }  
}

function save_as_draft() {
   alert("Sorry ! This Function Not Ready !");
}

function rand_character(opt) {
   alert("Sorry ! This Function Not Ready !");
}

function del_one_cf(id) {       //not ok
   // alert("del_one_cf("+id+") ok ready!");
   $("#"+id).remove();
   swap_to_edit();
   return false;
}

/*]]>*/</script>
<div id='big_close'>
<a href="javascript:window.opener=null;window.open('','_self');window.close();">
   <div class="full_w" style="background:#888;font-size:36px;text-align:center;">关闭</div> 
</a>
</div>
<div id="bigOperDiv" class="hide" style="background:#C7EDCC;font-size:24px;text-align:center;">
[var.out.form_oper_html; htmlconv=no]
</div>
<div id='page_op_bar'>
<a href="javascript:void(0);" onclick="get_card_desc();">摘要信息</a>
&nbsp;&nbsp;<a href="javascript:void(0);" onclick="get_card_desc_new();">摘要信息new</a>
<div id="op_msg" class='hide'>
<textarea id='op_data' style="width:600px; min-height:160px;"></textarea>
</div>
</div>
</body></html>